<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<div>
	<form id="infoForm" target="hiddenFrame" action="${path}/mc/pushMsgsaveInfo" method="post" enctype="multipart/form-data">
		<input type="hidden" name="entity.id" value="${entity.id}" />
		<fieldset style="padding-left: 10px;">
			<table>
				<tr>
			  		<td>标题</td>
			  		<td>
			  			<input type="text" name="entity.title" value="<c:choose><c:when test="${empty entity.title}"></c:when><c:otherwise>${entity.title}</c:otherwise></c:choose>"
			  				class="{required:true,messages:{required:'标题不能为空且要小于16个汉字'}}" maxlength="16"> 
			  		</td>
			  	</tr>
			  	<%-- <tr>
			  		<td>简介</td>
			  		<td>
			  			<input type="text" name="entity.intro" value="<c:choose><c:when test="${empty entity.intro}"></c:when><c:otherwise>${entity.intro}</c:otherwise></c:choose>"
			  				class="{required:true,messages:{required:'简介不能为空'}}"> 
			  		</td>
			  	</tr> --%>
			  	<tr>
			  		<td>内容</td>
			  		<td>
			  			<%-- <input type="text" name="entity.content" value="<c:choose><c:when test="${empty entity.content}"></c:when><c:otherwise>${entity.content}</c:otherwise></c:choose>"
			  				class="{required:true,messages:{required:'内容不能为空'}}"> --%>
			  				<textarea name="entity.content" style="width:500px;height:200px;" 
			  				class="{required:true,messages:{required:'内容不能为空'}}"></textarea>
			  		</td>
			  	</tr>
		   </table>
		</fieldset>
	</form>
</div>
